<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorator="mobile/fragments/index">
<head>
    <meta charset="UTF-8"/>
    <title th:text="学院通知"></title>
</head>
<body th:fragment="content" th:remove="tag">
<div class="mui-card">
    <div class="mui-mui-card-content custom-header" th:text="${entity.messageTitle}">
    </div>
    <div class="mui-card-footer">
        <div class="mui-card-link custom-card-span-link" th:text="${'发布时间:'+entity.sendTime}"></div>
    </div>
</div>
<div class="mui-card">
    <div class="mui-mui-card-content layui-nr" style="padding: 5px;">
        <input type="hidden" th:value="${entity.messageHtml}" name="content"/>
    </div>
</div>
<script>
    $(function () {
        var content=$("input[name='content']").val();
        content=content.replace("","");
        $(".layui-nr").html(content);
    });
</script>
</body>
</html>